﻿<?php

/***

LZRoster: A roster for World of Warcraft.
Copyright (C) 2007  Emmanuel Cron

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

***/

require_once dirname(__FILE__)."/../univ-class/class/Dungeon.class.php";

$array = array (
	/*** Non heroic ***/	
	'shattered_halls' => new Dungeon(
		"shattered_halls",
		"DUNGEON_SHATTERED_HALLS",
		"dungeons/thumbs/ShatteredHalls.png",
		'non_heroic'
	),
	'arcatraz' => new Dungeon(
		"arcatraz",
		"DUNGEON_ARCATRAZ",
		"dungeons/thumbs/Arcatraz.png",
		'non_heroic'
	),
	'karazhan' => new Dungeon(
		"karazhan",
		"DUNGEON_KARAZHAN",
		"dungeons/thumbs/Karazhan.png",
		'non_heroic'
	),
	'black_temple' => new Dungeon(
		"black_temple",
		"DUNGEON_BLACK_TEMPLE",
		"dungeons/thumbs/BlackTemple.png",
		'non_heroic'
	),
	
	/*** Heroic ***/
	'hellfire_citadel' => new Dungeon(
		"hellfire_citadel",
		"DUNGEON_HELLFIRE_CITADEL",
		"dungeons/thumbs/HellfireCitadel.png",
		'heroic'
	),
	'coilfang_reservoir' => new Dungeon(
		"coilfang_reservoir",
		"DUNGEON_COILFANG_RESERVOIR",
		"dungeons/thumbs/CoilfangReservoir.png",
		'heroic'
	),
	'auchindoun' => new Dungeon(
		"auchindoun",
		"DUNGEON_AUCHINDOUN",
		"dungeons/thumbs/Auchindoun.png",
		'heroic'
	),
	'caverns_of_time' => new Dungeon(
		"caverns_of_time",
		"DUNGEON_CAVERNS_OF_TIME",
		"dungeons/thumbs/CavernsOfTime.png",
		'heroic'
	),
	'tempest_keep' => new Dungeon(
		"tempest_keep",
		"DUNGEON_TEMPEST_KEEP",
		"dungeons/thumbs/TempestKeep.png",
		'heroic'
	),
	
	/*** Old dungeons ***/
	'onyxia' => new Dungeon(
		"onyxia",
		"DUNGEON_ONYXIA",
		"dungeons/thumbs/Onyxia.png",
		'old_dungeons'
	),
	'scarlet_monastery' => new Dungeon(
		"scarlet_monastery",
		"DUNGEON_SCARLET_MONASTERY",
		"dungeons/thumbs/ScarletMonastery.png",
		'old_dungeons'
	),
	'dire_maul' => new Dungeon(
		"dire_maul",
		"DUNGEON_DIRE_MAUL",
		"dungeons/thumbs/DireMaul.png",
		'old_dungeons'
	),
	'scholomance' => new Dungeon(
		"scholomance",
		"DUNGEON_SCHOLOMANCE",
		"dungeons/thumbs/Scholomance.png",
		'old_dungeons'
	),
	'ubrs' => new Dungeon(
		"ubrs",
		"DUNGEON_UBRS",
		"dungeons/thumbs/Ubrs.png",
		'old_dungeons'
	),
	
	/*** Shortcuts ***/
	'gnomeregan' => new Dungeon(
		"gnomeregan",
		"DUNGEON_GNOMEREGAN",
		"dungeons/thumbs/Gnomeregan.png",
		'shortcuts'
	),
	'maraudon' => new Dungeon(
		"gnomeregan",
		"DUNGEON_MARAUDON",
		"dungeons/thumbs/Maraudon.png",
		'shortcuts'
	),
	'blackrock_depths' => new Dungeon(
		"blackrock_depths",
		"DUNGEON_BLACKROCK_DEPTHS",
		"dungeons/thumbs/BlackrockDepths.png",
		'shortcuts'
	),
	'stratholme' => new Dungeon(
		"stratholme",
		"DUNGEON_STRATHOLME",
		"dungeons/thumbs/Stratholme.png",
		'shortcuts'
	),
	
	/*** Optional bosses ***/
	'gahzrilla' => new Dungeon(
		"gahzrilla",
		"DUNGEON_GAHZRILLA",
		"dungeons/thumbs/Gahzrilla.png",
		'optional_bosses'
	),
	'hakkar_avatar' => new Dungeon(
		"hakkar_avatar",
		"DUNGEON_HAKKAR_AVATAR",
		"dungeons/thumbs/HakkarAvatar.png",
		'optional_bosses'
	),
	'nightbane' => new Dungeon(
		"nightbane",
		"DUNGEON_NIGHTBANE",
		"dungeons/thumbs/Nightbane.png",
		'optional_bosses'
	),
	'theldren' => new Dungeon(
		"theldren",
		"DUNGEON_THELDREN",
		"dungeons/thumbs/Theldren.png",
		'optional_bosses'
	),
	'valthalak' => new Dungeon(
		"valthalak",
		"DUNGEON_VALTHALAK",
		"dungeons/thumbs/Valthalak.png",
		'optional_bosses'
	),
	
	/*** Special items ***/
	'eternal_quintessence' => new Dungeon(
		"eternal_quintessence",
		"DUNGEON_ETERNAL_QUINTESSENCE",
		"dungeons/thumbs/EternalQuintessence.png",
		'special_items'
	),
);

if (file_put_contents( dirname(__FILE__)."/../univ-class/class.data/DungeonContainer.dungeons.serialize", serialize($array) ) != FALSE) {
	echo "SUCESS";
} else {
	echo "FAILED";
}

?>